function y = explin2(x)
% EXPLIN2 function
% x0=[0,0,...,0];
n=length(x);m=n-1;
y=0;tp1=0;tp2=0;
for i=1:m
    tp1=tp1+exp(i*x(i)*x(i+1)/(10*m));
end
for j=1:n;
    tp2=tp2+i*x(i);
end
y=y+tp1-10*tp2;


